<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      xmlns:a4j="http://richfaces.org/a4j">

<h:body>
	<h1>Hello</h1>
	<a4j:outputPanel>Your data:</a4j:outputPanel> <br />
	<a4j:outputPanel>nome: #{userBean.name}</a4j:outputPanel> <br />
	<a4j:outputPanel>cognome: #{userBean.surname}</a4j:outputPanel> <br />
	<a4j:outputPanel>birthdate: #{userBean.birthdate}</a4j:outputPanel> <br />
	
	<h:link outcome="/admin/search-modifyHotel" value="search or modify or remove hotel" /> <br />
	<h:link outcome="/admin/search-modifyFlight" value="search or modify or removeflight" /> <br />
	<h:link outcome="/admin/search-modifyAttraction" value="search or modify or remove attraction" /> <br />
	<h:link outcome="/admin/myPackets" value="go to my packet" /> <br />
	<h:link outcome="/admin/createNewPacket" value="add Packet" /> <br />
	<h:link outcome="/admin/addBasicProduct" value="add basic products" /> <br />
	<h:link outcome="/admin/catalogue" value="go to the catalogue" /> <br />
	
	
	
	<h:form>
		<p:commandButton action="#{logoutBean.logout}" value="Logout" />
	</h:form>
</h:body>
</html>